@import "ft.comp";

// 通用布局

@mixin full-size {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

$def-px: 5, 10, 15, 20, 25;
@each $px in $def-px {
  .ft-margin-#{$px} {
    margin: #{$px}px;
  }
  .ft-margin-l-#{$px} {
    margin-left: #{$px}px;
  }
  .ft-margin-r-#{$px} {
    margin-right: #{$px}px;
  }
  .ft-margin-lr-#{$px} {
    margin: 0 #{$px}px;
  }
  .ft-margin-t-#{$px} {
    margin-top: #{$px}px;
  }
  .ft-margin-b-#{$px} {
    margin-bottom: #{$px}px;
  }
  .ft-margin-tb-#{$px} {
    margin: #{$px}px 0;
  }

  .ft-padding-#{$px} {
    padding: #{$px}px;
  }
  .ft-padding-l-#{$px} {
    padding-left: #{$px}px;
  }
  .ft-padding-r-#{$px} {
    padding-right: #{$px}px;
  }
  .ft-padding-lr-#{$px} {
    padding: 0 #{$px}px;
  }
  .ft-padding-t-#{$px} {
    padding-top: #{$px}px;
  }
  .ft-padding-b-#{$px} {
    padding-bottom: #{$px}px;
  }
  .ft-padding-tb-#{$px} {
    padding: #{$px}px 0;
  }
}

ion-list .item .item-inner {
    border-bottom: 1px solid #e2e2e2;
}
.item .item-inner {
    padding-right: 8px;
    border-bottom: 1px solid #e2e2e2;
}
.news-list .news-related {
    margin-left: 20px;
    width: 60%;
    border-bottom: 1px solid #e2e2e2;
}
body {
    font-family: Arial;
    font-size: 1.4rem;
    background-color: #fff;
}
.alert-message, .alert-input-group {
    padding: 0 16px 21px;
    font-size: 13px;
    text-align: left;
    color: inherit;
}
.alert-sub-title {
    font-size: 13px;
    color: #666;
    text-align: left;
}
.alert-title {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}


a
// ionic定制
.toolbar-title {
  font-weight: normal;
}
.toolbar-background {
  border-color: $ft-color-lightGray;
}

@mixin ft-icon($icon) {
  display: block;
  width: 36px;
  height: 36px;
  content: '';
  background: url($icon) no-repeat 0 0;
  background-size: 70%;
  background-position: center; 
}

$tab-list: tab1, tab2, tab3, tab4, tab5;
@each $tab in $tab-list {
  .ion-ios-#{$tab} {
    @include ft-icon('../../asset/icon/#{$tab}-2.png');
  }
  .ion-ios-#{$tab}-outline {
    @include ft-icon('../../asset/icon/#{$tab}-1.png');
  }
}

.ft-color-gray {
  color: $ft-color-gray;
}

.ft-tag {
  padding: 3px 5px;
  border-radius: 2px;
  color: $ft-color-white;
  background-color: $ft-color-primary;
}

.bar-button-default {
  color: $ft-color-black;
}
.toolbar-background {
  border-top: none;
  background: $ft-color-white;
}
ion-tabbar{
  border-top:0px solid;
}

// 通用组件
.downloadbutton {
    background-color: $ft-color-primary;
    display: inline-block;
    position: relative;
    margin: 10px;
    padding: 0 20px;
    text-align: center;
    text-decoration: none;
    font: bold 12px/25px Arial, sans-serif;

    text-shadow: 1px 1px 1px $ft-color-rgba;

    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
 
    -webkit-box-shadow: 1px 1px 1px $ft-color-black, inset 1px 1px 1px $ft-color-gray;
    -moz-box-shadow: 1px 1px 1px $ft-color-black, inset 1px 1px 1px $ft-color-gray;
    box-shadow: 1px 1px 1px $ft-color-black, inset 1px 1px 1px $ft-color-gray;
 
    -webkit-transition: all 0.15s ease;
    -moz-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    -ms-transition: all 0.15s ease;
    transition: all 0.15s ease;
}

// @import "../pages/home/home";

@import "../pages/guide/guide";

@import "../pages/tabs/tabs";

@import "../pages/tab-events/tab-events";
@import "../pages/tab-news/tab-news";
@import "../pages/tab-about/tab-about";
@import "../pages/tab-resources/tab-resources";
@import "../pages/tab-my/tab-my";

@import "../pages/tab-test/tab-test";

@import "../pages/tab-events/tab-upcomingInfo";
@import "../pages/tab-events/tab-previousInfo";
@import "../pages/tab-events/tab-suveryInfo";
@import "../pages/tab-events/tab-previous-article";
@import "../pages/tab-events/tab-previous-list";
@import "../pages/tab-events/tab-previous-video";
